package com.lxp.design.shop.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author LaiXiaoPeng
 * @version 1.0
 * @date 2021/10/9 11:11
 */
@SpringBootApplication
@EnableTransactionManagement
//@EnableEurekaClient
@EnableFeignClients //标记为Feign客户端,即服务调用者
@EnableHystrix //服务熔断客户端
public class ShopTestApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShopTestApplication.class,args);
    }
}
